<template>
  <view class="test">
    <view class="text">宁学桃园三结义，不学瓦岗一炉香</view>
  </view>
</template>

<script setup>
import {onLoad} from "@dcloudio/uni-app";

onLoad(() => {
  const query = uni.createSelectorQuery().in(getCurrentInstance())
  const dom = query.select('.text')
})
</script>

<style lang="less" scoped>

</style>
